package com.njtoyo.taxi.admin.rest.pojo.dto.rule.online_price_rule;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class OnlinePriceDto {
    private String startingPrice;
    private ExceedStarting exceedStarting;
    private Waiting waiting;
    private EmptyBackFee emptyBackFee;
    private Refresh refresh;
    private BadWeather badWeather;
    private Holiday holiday;



    @Data
    @Accessors(chain = true)
    public static class ExceedStarting {
        private String mileageUnitPrice;
        private String timeUnitPrice;
    }

    @Data
    @Accessors(chain = true)
    public static class Waiting {
        private String freeTime;
        private String limit;
        private String timeCost;
    }
    @Data
    @Accessors(chain = true)
    public static class EmptyBackFee {
        private String baseMileage;
        private String ratio;
    }
    @Data
    @Accessors(chain = true)
    public static class Refresh {
        private String mileage;
        private String time;
    }
    @Data
    @Accessors(chain = true)
    public static class BadWeather {
        private String price;
        private String startTime;
        private String endTime;
    }
    @Data
    @Accessors(chain = true)
    public static class Holiday {
        private String price;
        private Object[] days;
    }

    @Data
    @Accessors(chain = true)
    public static class Days {
        private String startTime;
        private String endTime;
    }
}
